<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('专家去世确认管理')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row" id="qushiquerenlist">

        <input name="deptid" th:value="${deptid}" type="hidden" id="deptid">

        <div class="col-sm-12 search-collapse">
            <form id="formId1">
                <div class="select-list">
                    <ul>
                        <li>
                            <label>单位名称：</label>
                            <input type="text" name="danweimingcheng" v-model="danweimingcheng"/>
                        </li>
                        <li>
                            <a class="btn btn-primary btn-rounded btn-sm" @click="bindQushiquerenDeptList"><i class="fa fa-search"></i>&nbsp;搜索</a>
                            <a class="btn btn-warning btn-rounded btn-sm" @click="reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                        </li>
                    </ul>
                </div>
            </form>
        </div>

        <div  class="col-sm-12 select-table table-striped">

            <table class="table table-hover table-primary table-striped">
                <thead>
                <tr>
                    <th style="text-align: center; vertical-align: middle;">序号</th>
                    <th style="text-align: center; vertical-align: middle;">单位</th>
                    <th style="text-align: center; vertical-align: middle;">负责人</th>
                    <th style="text-align: center; vertical-align: middle;">负责人手机号码</th>
                    <th style="text-align: center; vertical-align: middle;">待处理</th>
                    <th style="text-align: center; vertical-align: middle;">操作</th>

                </tr>
                </thead>
                <tbody>
                <tr v-for="(qushiquerenitem,index) in qushiquerenDeptlist"  v-if="qushiquerenDeptlist.length > 0">
                    <td style="vertical-align: middle; text-align: center;" v-text="index+1"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.jigoumingcheng"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.fuzeren"></td>
                    <td style="vertical-align: middle; text-align: center;" v-text="qushiquerenitem.fuzerenshoujihaoma"></td>
                    <td style="vertical-align: middle; text-align: center;" :class="qushiquerenitem.weichuli==0?'green':'red'" v-text="qushiquerenitem.weichuli"></td>
                    <td style="vertical-align: middle; text-align: center;">
                        <button class="btn-info btn" v-if="qushiquerenitem.jigoujibie!=3" @click="XiajiDanwei(qushiquerenitem.id)">下级单位</button>
                        <button class="btn-primary btn" @click="RenyuanMingdan(qushiquerenitem.id)">人员名单</button>
                        <button class="btn-warning btn" @click="">发送短信</button>
                    </td>
                </tr>
                <tr v-if="qushiquerenDeptlist.length == 0">
                    <td style="text-align: center; vertical-align: middle" colspan="12">查无数据</td>
                </tr>
                </tbody>
            </table>
        </div>


    </div>
</div>
<th:block th:include="include :: footer" />
<script th:src="@{/js/system/zhuanjiaqushiqueren/qushiquerenDeptlist.js?v=1.1}"></script>

</body>
</html>

<style>
    .green{
        color: green;
    }
    .red{
        color: red;
    }
</style>